﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Pro.Repository.Entites
{
    /// <summary>
    /// 商品分组详情
    /// </summary>
    [Table("pro_GoodGroupDetails"), Comment("商品分组"),Index(nameof(GroupID))]
    [Serializable]
    public class GoodsGroupDetails : EfEntity
    {
        /// <summary>
        /// 分组ID
        /// </summary>
        [Comment("分组ID")]
        public long GroupID { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        [Comment("商品ID")]
        public long GoodsID { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Comment("商品在分组中的排序")]
        public int Sort { get; set; }
    }
}
